<template>
  <div class="custom-card" :style="{ borderRadius: borderRadius + 'px' }">
    <div class="left" style="background-color: #409eff">left</div>
    <div class="right" style="background-color: #67c23a">right</div>
    <!-- <slot></slot> -->
  </div>
</template>
<script setup lang="ts">
import { defineProps } from 'vue'
defineProps({
  borderRadius: {
    type: Number,
    default: 5
  }
})
</script>
<style lang="scss">
.custom-card {
  height: 48px;
  background-color: var(--blank-color);
  box-shadow: 1px 1px 5px #ededed;
  // box-sizing: border-box;
  display: flex;
  padding: 0 16px;
}

.left {
  flex: 3;
}

.right {
  flex: 9;
}
</style>
